package com.huawang.mdesign.model.service.model.proto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author cdl
 */
@Data
public class MessageMapping {

    @Schema(title = "id")
    @NotBlank(message = "id不能为空.")
    private String id;

    @Schema(title = "目标实体id")
    @NotBlank(message = "目标实体id不能为空.")
    private String entityId;

    @Schema(title = "消息类型id")
    @NotBlank(message = "消息类型不能为空.")
    private String messageTypeId;

    @Schema(title = "信号id")
    @NotBlank(message = "信号id不能为空.")
    private String signalId;

    @Schema(title = "场景id")
    @NotBlank(message = "场景id不能为空.")
    private String modelId;
}
